package medusa

import (

)

type HasLog struct {
    heading string
    log  Log
}

func (self *HasLog) Constructor(heading string, log Log) {
    self.heading = heading
    self.log = log
}

//////////////////////////////////////////////////////////////////////////
//log
func (self *HasLog) Error(format string, args ...interface{}) {
    self.log.Error(self.heading, format, args...)
}

func (self *HasLog) Warning(format string, args ...interface{}) {
    self.log.Warning(self.heading, format, args...)
}

func (self *HasLog) Success(format string, args ...interface{}) {
    self.log.Success(self.heading, format, args...)
}

func (self *HasLog) Debug(format string, args ...interface{}) {
    self.log.Debug(self.heading, format, args...)
}

func (self *HasLog) Stack(format string, args ...interface{}) {
    self.log.Stack(self.heading, format, args...)
}

func (self *HasLog) Temp(format string, args ...interface{}) {
    self.log.Temp(self.heading, format, args...)
}
